package com.pkuefusa.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pkuefusa.dao.TestDao;
import com.pkuefusa.model.Person;
import com.pkuefusa.service.TestService;


@Service
public class TestServiceImpl implements TestService{
	
	@Autowired
	private TestDao testDao;

	public Integer getPerson() {
		Person person = testDao.getPerson();
		return person.getId();
	}

}
